package com.ddstation.exam.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "dt_health_manage_institution_group")
public class DtHealthManageInstitutionGroupEntity {
    @Id
    private Integer id;

    /**
     * 父机构id
     */
    @Column(name = "parent_institution_id")
    private String parentInstitutionId;

    /**
     * 子机构id
     */
    @Column(name = "child_institution_id")
    private String childInstitutionId;

    @Column(name = "order_nb")
    private Short orderNb;

    /**
     * 0：可用 9：删除
     */
    private Short status;

    @Column(name = "update_tm")
    private Date updateTm;

    @Column(name = "create_tm")
    private Date createTm;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取父机构id
     *
     * @return parent_institution_id - 父机构id
     */
    public String getParentInstitutionId() {
        return parentInstitutionId;
    }

    /**
     * 设置父机构id
     *
     * @param parentInstitutionId 父机构id
     */
    public void setParentInstitutionId(String parentInstitutionId) {
        this.parentInstitutionId = parentInstitutionId;
    }

    /**
     * 获取子机构id
     *
     * @return child_institution_id - 子机构id
     */
    public String getChildInstitutionId() {
        return childInstitutionId;
    }

    /**
     * 设置子机构id
     *
     * @param childInstitutionId 子机构id
     */
    public void setChildInstitutionId(String childInstitutionId) {
        this.childInstitutionId = childInstitutionId;
    }

    /**
     * @return order_nb
     */
    public Short getOrderNb() {
        return orderNb;
    }

    /**
     * @param orderNb
     */
    public void setOrderNb(Short orderNb) {
        this.orderNb = orderNb;
    }

    /**
     * 获取0：可用 9：删除
     *
     * @return status - 0：可用 9：删除
     */
    public Short getStatus() {
        return status;
    }

    /**
     * 设置0：可用 9：删除
     *
     * @param status 0：可用 9：删除
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * @return update_tm
     */
    public Date getUpdateTm() {
        return updateTm;
    }

    /**
     * @param updateTm
     */
    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    /**
     * @return create_tm
     */
    public Date getCreateTm() {
        return createTm;
    }

    /**
     * @param createTm
     */
    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }
}